package edu.univercidade.tcc.sap.ejb;

import java.util.List;

import javax.ejb.Local;

import edu.univercidade.tcc.sap.model.User;

@Local
public interface UserServiceLocal {
	
	User getUserByLogin(String login);

	boolean isValidUser(String user, String password);
	
	User createUser(String login, String password, String firstname, String lastname, String email);
	
	User create(User user);

	void delete(User user);
	
	User[] listValid();
	
	void update(User user);
}
